public class Test2 {
    public static void main(String[] args) {
        //隐形 和显性强转
        int a = 10;
        long b = 4L;

      /*  b = a;
        System.out.println(b);*/
        a = (int)b;
        System.out.println(a);
    }
}
